package com.ruoyi.auth.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result {

    private int code; //Http状态码
    private String message; //返回给前端的信息
    private Object object; //返回的对象

    public Result(int code, String message){
        this.code = code;
        this.message = message;
    }

}
